<template>
  <div class="conent">
    <p
      v-show="this.$store.state.comname != viewname"
      class="aboutme"
      @click="Change()"
    >
      <em>关于我</em>
    </p>
    <p>
      <span> Copyright © ROURS All Rights Reserved. </span>
    </p>
  </div>
</template>

<script>
export default {
  components: {},
  data() {
    return {
      viewname: "AboutMe",
    };
  },
  methods: {
    Change() {
      this.$store.commit("Change", { id: 0, name: this.viewname });
    },
  },
};
</script>

<style scoped>
.conent {
  width: 965px;
  text-align: center;
  margin-top: 15%;
  transform: translate(-50%, -50%);
  color: #000000;
  font-size: 14px;
  margin-left: 50%;
}
p {
  margin-top: 5px;
  text-align: center;
}
span {
  line-height: 30px;
  border-bottom: 2px solid rgb(121, 116, 116);
}
.aboutme {
  width: 150px;
  font-size: 18px;
  margin-left: 94%;
  padding-top: 30px;
  transition: all 0.6s;
}
.aboutme:hover {
  color: #e11057;
  cursor: pointer;
  transform: scale(1.2);
}
</style>